#ifndef SPAWNANDDEST
#define SPAWNANDDEST
#pragma warning (disable:4786)
//-----------------------------------------------------------------------------
//
//  Name:   SpawnAndDest.h
//
//  Author: Mat Buckland (www.ai-junkie.com)
//
//  Desc:   this class creates and stores all the entities that make up the
//          Raven game environment. (walls, bots, health etc) and can read a
//          Raven map file and recreate the necessary geometry.
//
//          this class has methods for updating the game entities and for
//          rendering them.
//-----------------------------------------------------------------------------
#include <vector>
#include <string>
#include <list>

class SpawnAndDest
{
protected:

	Vector2D m_SpawnDest;
	Vector2D m_SpawnPos;
	int m_ID;

public:
	SpawnAndDest()
	{
		m_SpawnDest = Vector2D(-99,-99);
		m_SpawnPos = Vector2D(-99,-99);
		m_ID = -99;
	}
	SpawnAndDest(Vector2D Pos, int ID)
	{
		m_SpawnPos = Pos;
		m_ID = ID;
	}

	void setSpawnDest(Vector2D des)
	{m_SpawnDest = des;}

	Vector2D getSpawnDest(){return m_SpawnDest;}
	Vector2D getSpawnPos(){return m_SpawnPos;}

	int getID()
	{
		if(m_SpawnPos ==  Vector2D(-99,-99))
			return 0;
		else
		return m_ID;
	}


};
#endif